<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>Hello JSF!</title>
</h:head>
<h:body>
	<p:panel header="Cadastro" style="width:50%">
	<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
		<h:form id="Cadastro">
		<p:outputLabel value="Nome"/><p:inputText id="nome" required="true" /><br/>
		<p:outputLabel value="Telefone"/><p:inputText/><br/>
		<p:outputLabel value="Email"/><p:inputText/><br/>
		<p:outputLabel value="Cidade"/><p:inputText/><br/>
		<p:outputLabel value="Data Nascimento"/><p:calendar pattern="dd/MM/yyyy" ></p:calendar>
		<p:commandButton action="#{teste.add}" value="EnviarAdd" ></p:commandButton>
		</h:form>
	</p:panel>
</h:body>
</html>